#!/usr/bin/env python3
# coding: utf-8


class UsefulClass:
    """
    This is a very useful class
    herpus derpus
    """

    def __init__(self, name, age=19, sex='-', loc='N/A'):
        self.name = name
        self.asl = (age, sex, loc)

    def __len__(self):
        if self.asl[1] == '-' or self.asl[2] == 'N/A':
            return 0
        else:
            return self.asl[0]

    def do_it(self):
        print(self.name, 'does it')

    def oldmethod(self):
        print(self.name, "uses oldmethod. It's super effective!")
